//园区总揽《分数据看板》相关接口
import api from '@/api/api'


// 查询园区总揽《分》概况情况
const reqDisHeadData = () => {
	return api.get('/cockggs/getHead')
}

// 查询园区总揽概况情况
const reqHeadData = () => {
	return api.get('/coczh/getHead')
}

// 查询园区总揽《分》能源费用统计(万元)
const reqDisEnergyCost = ({
	yearFen = "2023",
	yearTotal = "0"
} = {}) => {

	const data = {
		yearFen,
		yearTotal
	}
	return api.post('/tradition/cockggs/getMoney', data)
}

const testApiArr = [{
		value: 'reqDisHeadData',
		method: 'get'
	},

	{
		value: 'reqHeadData',
		method: 'get'
	},

	{
		value: 'reqDisEnergyCost',
		method: 'post'
	},
]

export {
	reqDisHeadData,
	reqHeadData,
	reqDisEnergyCost,
	testApiArr
};